package com.dmatek.uwb.packet.bean;
/***
 * 权重
 * @author zhangfu
 * @data 2019年6月18日 下午3:49:51
 * @Description
 */
public final class Weight {
	private String id; // 权重id
    private int val = 0; // 权重值, 默认权重为0
	public Weight(String id) {
		super();
		this.id = id;
	}
	public Weight(String id, int val) {
		super();
		this.id = id;
		this.val = val;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getVal() {
		return val;
	}
	public void setVal(int val) {
		this.val = val;
	}
    public void increase() { // 权重增加
    	this.val ++;
    }
}
